from urllib.parse import urljoin, urlparse
url="http://deepcnxpfgmausrq.onion"
action="./ucp.php?mode=login&amp;sid=7a5f7b7c838a0315e20e364fd6c05024"
login_url = urljoin(url, action)
print(login_url)



url='http://www.chenxm.cc/post/719.html'
parse_res=urlparse(url)
domain = parse_res.netloc
query = parse_res.query
